﻿using Sunny.UI;
using System.ComponentModel;

namespace CoreShop.Library
{
    /// <summary>
    /// 系统常用枚举类
    /// </summary>
    public static partial class GlobalEnumVars
    {
        /// <summary>
        /// 快捷支付方式
        /// </summary>
        public enum QuickPayType
        {
            /// <summary>
            /// 现金结算
            /// </summary>
            [Description("现金结算")]
            CashQuickPay = 0,
            /// <summary>
            /// 现金支付方式   
            /// </summary>
            [Description("现金支付")]
            CastSetBalance = 1,
            /// <summary>
            /// 聚合支付方式
            /// </summary>
            [Description("聚合支付")]
            MobilePayment = 2,
            /// <summary>
            /// 碰一碰支付
            /// </summary>
            [Description("碰一碰")]
            AliPay_NFC = 3,
        }

        /// <summary>
        /// 商品分类绑定类型
        /// </summary>
        public enum FoodTypeBindType
        {
            /// <summary>
            /// 显示商品分类
            /// </summary>
            [Description("仅商品分类")]
            ShowFoodType = 0,
            /// <summary>
            /// 商品分类及上级分类   
            /// </summary>
            [Description("商品分类及上级分类")]
            ParentAndChild = 1,
            /// <summary>
            /// 商品分类及最大分类
            /// </summary>
            [Description("商品分类及顶级分类")]
            TopAndChild = 2
        }



        /// <summary>
        /// 会员卡状态
        /// </summary>
        public enum MemberCardStatus
        {
            /// <summary>
            /// 初始化
            /// </summary>
            [Description("初始化")]
            Init = 0,
            /// <summary>
            /// 启用   
            /// </summary>
            [Description("启用")]
            Used = 1,
            /// <summary>
            /// 挂失   
            /// </summary>
            [Description("挂失")]
            Loss = 2,
            /// <summary>
            /// 锁定   
            /// </summary>
            [Description("锁定")]
            Lock = 3,
            /// <summary>
            /// 注销   
            /// </summary>
            [Description("注销")]
            Logout = 4
        }


        /// <summary>
        /// 支付结果
        /// </summary>
        public enum PayOutcomeType
        {
            /// <summary>
            /// 单边帐
            /// </summary>
            [Description("单边帐")]
            Unknown = 0,
            /// <summary>
            /// 已确认   
            /// </summary>
            [Description("已确认")]
            Confirmed = 1
        }

        /// <summary>
        /// LED顾显型号
        /// </summary>
        public enum LedCustShow
        {
            /// <summary>
            /// 不连接
            /// </summary>
            [Description("不连接")]
            None = 0,
            /// <summary>
            /// 普通   
            /// </summary>
            [Description("普通")]
            Common = 1,
            /// <summary>
            /// VTOP
            /// </summary>
            [Description("VTOP")]
            VTOP = 2
        }

        /// <summary>
        /// 收银称型号
        /// </summary>
        public enum OrderDeskType
        {
            /// <summary>
            /// 零售单据
            /// </summary>
            [Description("零售单据")]
            OrderingPos = 0,
            /// <summary>
            /// 挂单数据   
            /// </summary>
            [Description("挂单数据")]
            OrderingHangup = -1,
            /// <summary>
            /// 标签打印数据
            /// </summary>
            [Description("标签打印数据")]
            OrderingLabel = -2
        }

        /// <summary>
        /// 支付类型
        /// </summary>
        public enum accountType
        {
            /// <summary>
            /// 收款
            /// </summary>
            [Description("收款")]
            Payment = 1,
            /// <summary>
            /// 充值    
            /// </summary>
            //[Description("充值")]
            //Renewal = 2
        }

        /// <summary>
        /// 收银称型号
        /// </summary>
        public enum ScaleType
        {
            /// <summary>
            /// 不连接
            /// </summary>
            [Description("不连接")]
            None = 0,
            /// <summary>
            /// 大华ACS-A系列    
            /// </summary>
            [Description("大华ACS-A系列")]
            DaHui_ACS = 1,
            /// <summary>
            /// 顶尖ACLAS
            /// </summary>
            [Description("顶尖ACLAS-OS2X（COM口输出）")]
            DJ_OS2X = 2,
            /// <summary>
            /// 顶尖ACLAS-OS2X（稳定后输出）
            /// </summary>
            [Description("顶尖ACLAS-OS2X（标准接口）")]
            DJ_OS2_Dll = 3
        }

        /// <summary>
        /// 小票打印方式
        /// </summary>
        public enum PrinMethod
        {
            /// <summary>
            /// 自动打印
            /// </summary>
            [Description("自动打印")]
            AutoPrin = 0,
            /// <summary>
            /// 手动打印   
            /// </summary>
            [Description("手动打印")]
            SendPrin = 1,            
        }


        /// <summary>
        /// 支付渠道类型
        /// </summary>
        public enum channelType
        {
            /// <summary>
            /// 富友
            /// </summary>
            [Description("富友")]
            Fuyou = 1,
            /// <summary>
            /// 随行付    
            /// </summary>
            [Description("随行付")]
            Sxf = 2,
            /// <summary>
            /// 嘉联
            /// </summary>
            [Description("嘉联")]
            Jialan = 3
        }

        /// <summary>
        /// 支付渠道类型
        /// </summary>
        public enum accountStatus
        {
            /// <summary>
            /// 未启用
            /// </summary>
            [Description("未启用")]
            UnUse = 0,
            /// <summary>
            /// 启用    
            /// </summary>
            [Description("启用")]
            Use = 1,
            /// <summary>
            /// 暂停
            /// </summary>
            [Description("暂停")]
            Stop = 2,
            /// <summary>
            /// 失效
            /// </summary>
            [Description("失效")]
            Expire = 3
        }

        #region 基本资料相关

        #region 主界面Page值
        /// <summary>
        /// 主界面Page值
        /// </summary>
        public enum MainWinPageIndex
        {
            /// <summary>
            /// FNavigation-首页导航
            /// </summary>
            [Description("首页")]
            Page1001 = 1001,
            /// <summary>
            /// frmDeskMain-桌台
            /// </summary>
            [Description("桌台")]
            Page1002 = 1002,

            /// <summary>
            /// FOrdering-下单
            /// </summary>
            [Description("下单")]
            Page1003 = 1003,

            /// <summary>
            /// FOrdering-数据交换
            /// </summary>
            [Description("数据交换")]
            Page1004 = 1004

        }
        #endregion

        /// <summary>
        ///  用户操作的客户端类型
        /// </summary>
        public enum ClientType
        {
            [Description("后台管理")]
            Website = 0,
            [Description("前台收银")]
            PosApp = 1,
            [Description("微信小程序")]
            Wechat = 2,
        }

        /// <summary>
        /// 单据状态 1 制单 3 已审核 5 已生效 9 已失效,(GlobalEnumVars.ChgpriceStatus)
        /// </summary>
        public enum ChgpriceStatus
        {
            /// <summary>
            /// 不定
            /// </summary>
            [Description("不定")]
            None = 0,
            /// <summary>
            /// 制单
            /// </summary>
            [Description("制单")]
            Save = 1,
            /// <summary>
            /// 已审核
            /// </summary>
            [Description("已审核")]
            Check = 3,
            /// <summary>
            /// 已生效
            /// </summary>
            [Description("已生效")]
            Effective = 5,
            /// <summary>
            /// 已失效
            /// </summary>
            [Description("已失效")]
            Expiring = 9,
        }

        /// <summary>
        ///  营业员选择方式
        /// </summary>
        public enum EmployeeSelType
        {
            /// <summary>
            /// 不显示
            /// </summary>
            [Description("不显示")]
            None = 0,
            /// <summary>
            /// 不显示
            /// </summary>
            [Description("手动选择")]
            Select = 1,
            /// <summary>
            /// 不显示
            /// </summary>
            [Description("加购物车时自动弹窗选择")]
            SelectAtAddRow = 2,
            /// <summary>
            /// 不显示
            /// </summary>
            [Description("开单时自动弹窗选择")]
            SelectAtNewBill = 3,
            [Description("开单时自动选择默认")]
            AutoSelect = 4,
        }

        /// <summary>
        ///  商品类型
        /// </summary>
        public enum GoodsSpuType
        {
            /// <summary>
            /// 不定
            /// </summary>
            [Description("不定")]
            None = 0,
            /// <summary>
            /// 标准商品
            /// </summary>
            [Description("标准商品")]
            Standard = 1,
            /// <summary>
            /// 组合商品
            /// </summary>
            [Description("组合商品")]
            Combination = 2,
            /// <summary>
            /// 成分商品
            /// </summary>
            [Description("成分商品")]
            Component = 3,
            /// <summary>
            /// 非库存商品
            /// </summary>
            [Description("非库存商品")]
            UnStock = 4,
            /// <summary>
            /// 成分商品
            /// </summary>
            [Description("制单组合商品")]
            BillSubGoods = 5,
            /// <summary>
            /// 虚拟商品
            /// </summary>
            [Description("虚拟商品")]
            VirtualGoods = 6,
        }


        /// <summary>
        ///  商品列表字段大小
        /// </summary>
        public enum GoodsFontSize
        {
            /// <summary>
            /// 10号字体
            /// </summary>
            [Description("10号字体")]
            Size10 = 10,
            /// <summary>
            /// 11号字体
            /// </summary>
            [Description("11号字体")]
            Size11 = 11,
            /// <summary>
            /// 12号字体
            /// </summary>
            [Description("12号字体")]
            Size12 = 12,
            /// <summary>
            /// 13号字体
            /// </summary>
            [Description("13号字体")]
            Size13 = 13,
            /// <summary>
            /// 14号字体
            /// </summary>
            [Description("14号字体")]
            Size14 = 14,
            /// <summary>
            /// 15号字体
            /// </summary>
            [Description("15号字体")]
            Size15 = 15,
        }

        /// <summary>
        ///  优惠券种类
        /// </summary>
        public enum CouponType
        {
            [Description("售卖券")]
            CouponSales = 1,
            [Description("满减券")]
            FullForCut = 2,
            [Description("折扣券")]
            CouponDiscount = 3,
            [Description("运费券")]
            Freight = 4,
            [Description("商品券")]
            CouponGoods = 5,
        }

        /// <summary>
        ///  积分兑换类型1券 2虚拟商品 3实体商品
        /// </summary>
        public enum CreditsExchangeType
        {
            /// <summary>
            /// 兑换券
            /// </summary>
            [Description("兑换券")]
            Coupon = 1,
            /// <summary>
            /// 兑换商品
            /// </summary>
            [Description("兑换商品")]
            Goods = 3,
        }


        /// <summary>
        ///  优惠券种类
        /// </summary>
        public enum CouponItemWayType
        {
            /// <summary>
            /// 全部商品
            /// </summary>
            [Description("全部商品")]
            AllGoods = 1,
            /// <summary>
            /// 指定商品
            /// </summary>
            [Description("指定商品")]
            IncludeGoods = 2,
            /// <summary>
            /// 排除商品
            /// </summary>
            [Description("排除商品")]
            ExcludeGoods = 3,
        }
        /// <summary>
        /// 做法变价
        /// </summary>
        public enum FoodTaskPriceType
        {
            /// <summary>
            /// 不变价
            /// </summary>
            [Description("不变价")]
            UnChang = 0,
            /// <summary>
            /// 固定加价
            /// </summary>
            [Description("固定加价")]
            FixedAdd = 1,
            /// <summary>
            /// 固定加价
            /// </summary>
            [Description("按重量加价")]
            Incremental = 2,
        }

        /// <summary>
        /// 语音播报方式
        /// </summary>
        public enum SpeechType
        {
            /// <summary>
            /// 不播放
            /// </summary>
            [Description("不播放")]
            UnSpeech = 0,
            /// <summary>
            /// 播放语音提示(音频一)
            /// </summary>
            [Description("播放语音提示(音频一)")]
            SpeechOne = 1,
            /// <summary>
            /// 播放语音提示(音频二)
            /// </summary>
            [Description("播放语音提示(音频二)")]
            SpeechTrow = 2,
            /// <summary>
            /// 播放语音提示(音频二)
            /// </summary>
            [Description("播放语音提示(音频三)")]
            SpeechThree = 3,
        }

        /// <summary>
        /// 订单语音播报方式
        /// </summary>
        public enum OrderPlaySound
        {
            /// <summary>
            /// 不播放
            /// </summary>
            [Description("不播报")]
            UnPlay = 0,
            /// <summary>
            /// 女声播报
            /// </summary>
            [Description("女声播报")]
            Woman = 1,
            /// <summary>
            /// 男声播报
            /// </summary>
            [Description("男声播报")]
            Man = 2,
        }

        /// <summary>
        /// 积分类型（1：固定积分，2：销售额百分比）  
        /// </summary>
        public enum FoodPointType
        {
            /// <summary>
            /// 固定积分
            /// </summary>
            [Description("固定积分")]
            InFixed = 1,
            /// <summary>
            /// 销售额百分比
            /// </summary>
            [Description("销售额百分比")]
            Percentage = 2,
        }

        /// <summary>
        /// 报表请求      
        /// </summary>
        public enum ReportRequest
        {
            /// <summary>
            /// 搜索
            /// </summary>
            [Description("搜索")]
            Query = 0,
            /// <summary>
            /// 导出
            /// </summary>
            [Description("导出")]
            Export = 1,
        }

        /// <summary>
        /// 打折类型      
        /// </summary>
        public enum DiscountMode
        {
            /// <summary>
            /// 整单打折
            /// </summary>
            [Description("整单打折")]
            DiscountAll = 0,
            /// <summary>
            /// 单品打折
            /// </summary>
            [Description("单品打折")]
            Discount = 1,
            /// <summary>
            /// 单品减免
            /// </summary>
            [Description("单品减免")]
            ReduceAmount = 2,
            /// <summary>
            /// 改价
            /// </summary>
            [Description("改价")]
            ChangPrice = 3,
        }

        /// <summary>
        /// 券的状态coupon,使用状态使用状态（1已发放，2已使用，3已停用）
        /// </summary>
        public enum CouponStatus
        {
            /// <summary>
            /// 不定
            /// </summary>
            [Description("不定")]
            Unknown = 0,

            /// <summary>
            /// 已发放
            /// </summary>
            [Description("已发放")]
            Send = 1,
            /// <summary>
            /// 已使用
            /// </summary>
            [Description("已使用")]
            Used = 2,
            /// <summary>
            /// 已停用
            /// </summary>
            [Description("已停用")]
            Stop = 3,

        }

        public enum TableStatus
        {
            /// <summary>
            /// 不定
            /// </summary>
            [Description("不定")]
            All = 0,

            /// <summary>
            /// 空台
            /// </summary>
            [Description("空台")]
            Empty = 1,

            /// <summary>
            /// 待下单
            /// </summary>
            [Description("待下单")]
            TobePlaced = 2,

            /// <summary>
            /// 待结账
            /// </summary>
            [Description("待结账")]
            TobeSettled = 3,

            /// <summary>
            /// 已预结
            /// </summary>
            [Description("已预结")]
            PreSettled = 4,

            /// <summary>
            /// 已结帐
            /// </summary>
            [Description("已结帐")]
            Settlement = 5,

            /// <summary>
            /// 待操作
            /// </summary>
            [Description("待操作")]
            TobeOperate = 6,
            /// <summary>
            /// 使用中
            /// </summary>
            [Description("使用中")]
            InUse = 7,
        }

        /// <summary>
        /// 桌台操作      
        /// </summary>
        public enum DeskOperate
        {
            /// <summary>
            /// 拼台(一台多单)
            /// </summary>
            [Description("待拼台")]
            Spell = 1,
            /// <summary>
            /// 转台(A转到B)
            /// </summary>
            [Description("待转出")]
            TransferOut = 2,
            /// <summary>
            /// 合台(多台一单)
            /// </summary>
            [Description("待合台")]
            Merge = 3,
            /// <summary>
            /// 撤台(清空桌台)
            /// </summary>
            [Description("撤台")]
            Cancel = 4,
            /// <summary>
            /// 转台(转台的另一种显示)
            /// </summary>
            [Description("待转入")]
            TransferIn = 5,
            /// <summary>
            /// 联台(多台多单，同步点菜等操作
            /// </summary>
            [Description("待联台")]
            Union = 6,
            /// <summary>
            /// 修改人数
            /// </summary>
            [Description("修改人数")]
            EditPerson = 7,
        }


        /// <summary>
        /// 更多操作      
        /// </summary>
        public enum MoreOperate
        {
            /// <summary>
            /// 叫起
            /// </summary>
            [Description("叫起")]
            CallFood = 1,

            /// <summary>
            /// 整单叫起
            /// </summary>
            [Description("整单叫起")]
            CallWaitAll = 2,
            /// <summary>
            /// 整单起菜
            /// </summary>
            [Description("整单起菜")]
            CallSendAll = 3,
            /// <summary>
            /// 催菜
            /// </summary>
            [Description("催菜")]
            UrgeFood = 4,
            /// <summary>
            /// 整单催菜
            /// </summary>
            [Description("整单催菜")]
            UrgeAll = 5,
        }

        /// <summary>
        /// 沽清类型(周期)      
        /// </summary>
        public enum SoldoutCycle
        {
            /// <summary>
            /// 0按班次
            /// </summary>
            [Description("每班次限售")]
            Market = 0,
            /// <summary>
            /// 1按班次
            /// </summary>
            [Description("每班次限售")]
            Class = 1,
            /// <summary>
            /// 2按营业日
            /// </summary>
            [Description("每日限售")]
            Day = 2,
        }

        /// <summary>
        /// 沽清类型      
        /// </summary>
        public enum SoldoutType
        {
            /// <summary>
            /// 0按餐段
            /// </summary>
            [Description("按班次可售")]
            Market = 0,
            /// <summary>
            /// 1按班次
            /// </summary>
            [Description("用户班次可售")]
            Class = 1,
            /// <summary>
            /// 2按营业日
            /// </summary>
            [Description("今日可售")]
            Day = 2,
        }

        /// <summary>
        /// 是否是称重商品      
        /// </summary>
        public enum WeighType
        {
            /// <summary>
            /// 普通商品
            /// </summary>
            [Description("普通商品")]
            Default = 0,
            /// <summary>
            /// 称重商品
            /// </summary>
            [Description("称重商品")]
            Weigh = 1,
        }

        /// <summary>
        /// 是否是菜单称重方式      
        /// </summary>
        public enum WeighMode
        {
            /// <summary>
            /// 0下单前称重
            /// </summary>
            [Description("直接取重")]
            RealTime = 0,
            /// <summary>
            /// 称重商品
            /// </summary>
            [Description("弹窗取重")]
            ShowWeighForm = 1,
        }

        /// <summary>
        /// 沽清执行频率      
        /// </summary>
        public enum AutoSoldout
        {
            /// <summary>
            /// 重复执行
            /// </summary>
            [Description("重复执行")]
            Repeat = 0,
            /// <summary>
            /// 只执行一次
            /// </summary>
            [Description("只执行一次")]
            One = 1,
        }

        /// <summary>
        /// 会员储值支付提示      
        /// </summary>
        public enum MemberPayTip
        {
            /// <summary>
            /// 余额不足时直接转现金支付
            /// </summary>
            [Description("余额不足时直接转现金支付")]
            TurnToCash = 0,
            /// <summary>
            /// 余额不足时提示转现金支付
            /// </summary>
            [Description("余额不足时提示转现金支付")]
            TipToCash = 1,
            /// <summary>
            /// 余额不足时提示组合支付
            /// </summary>
            [Description("余额不足时提示组合支付")]
            TipToMore = 2,
            /// <summary>
            /// 余额不足时显示可支付金额
            /// </summary>
            [Description("余额不足时显示可支付金额")]
            ShowBalance = 3,
            /// <summary>
            /// 余额不足时仍显示储值全额支付
            /// </summary>
            [Description("余额不足时仍显示储值全额支付")]
            ShowMemberPay = 4,
        }

        /// <summary>
        /// 优惠券使用方式         
        /// </summary>
        public enum CouponUsage
        {
            /// <summary>
            /// 不核销优惠券
            /// </summary>
            [Description("不核销优惠券")]
            IgnoreNumber = 0,
            /// <summary>
            /// 核销优惠券
            /// </summary>
            [Description("扫码核销优惠券")]
            GetNumber = 1,

            /// <summary>
            /// 选择优惠券核销
            /// </summary>
            [Description("选择优惠券核销")]
            SelCoupon = 2,
            ///// <summary>
            ///// 自动核销优惠券
            ///// </summary>
            //[Description("自动核销购物券")]
            //AutoCheck = 3,
            ///// <summary>
            ///// 不启用优惠券
            ///// </summary>
            //[Description("不启用优惠券")]
            //Disable = 4,
        }

        /// <summary>
        /// 用户余额变动来源类型【对应CoreCmsUserBalance.type字段】
        /// </summary>
        public enum UserBalanceTypes
        {
            /// <summary>
            /// 用户消费
            /// </summary>
            [Description("用户消费")]
            Consume = 1,
            /// <summary>
            /// 消费退款
            /// </summary>
            [Description("消费退款")]
            ConsumeRefund = 2,
            /// <summary>
            /// 余额充值
            /// </summary>
            [Description("余额充值")]
            Deposit = 3,
            /// <summary>
            /// 充值退款
            /// </summary>
            [Description("充值退款")]
            DepositRefund = 4,
        }


        /// <summary>
        /// 开钱箱方式
        /// </summary>
        public enum CashBoxType
        {
            /// <summary>
            /// 不连接
            /// </summary>
            [Description("不连接")]
            UnUsed = 0,
            /// <summary>
            /// LPT1
            /// </summary>
            [Description("LPT1")]
            LPT1 = 1,
            /// <summary>
            /// LPT2
            /// </summary>
            [Description("LPT2")]
            LPT2 = 2,
            /// <summary>
            /// LPT3
            /// </summary>
            [Description("LPT3")]
            LPT3 = 4,
            /// <summary>
            /// COM1
            /// </summary>
            [Description("COM1")]
            COM1 = 5,
            /// <summary>
            /// COM2
            /// </summary>
            [Description("COM2")]
            COM2 = 6,
            /// <summary>
            /// COM3
            /// </summary>
            [Description("COM3")]
            COM3 = 7,
            /// <summary>
            /// COM4
            /// </summary>
            [Description("COM4")]
            COM4 = 8,
            /// <summary>
            /// COM5
            /// </summary>
            [Description("COM5")]
            COM5 = 9,
            /// <summary>
            /// Windows驱动方式
            /// </summary>
            [Description("Windows驱动方式")]
            Drive = 10
        }

        /// <summary>
        /// 支付方式
        /// </summary>
        public enum Payment
        {
            /// <summary>
            /// 现金
            /// </summary>
            [Description("现金")]
            cash = 1,
            /// <summary>
            /// 优惠券
            /// </summary>
            [Description("券支付")]
            coupon = 2,
            /// <summary>
            /// 聚合支付
            /// </summary>
            [Description("聚合支付")]
            paymix = 3,
            /// <summary>
            /// 微信
            /// </summary>
            [Description("微信")]
            wechatpay = 4,
            /// <summary>
            /// 积分
            /// </summary>
            [Description("积分")]
            points = 6,
            /// <summary>
            /// 储值卡
            /// </summary>
            [Description("储值卡")]
            balancepay = 7,
            /// <summary>
            /// 云闪付
            /// </summary>
            [Description("云闪付")]
            unionPay = 8,
            /// <summary>
            /// 支付宝
            /// </summary>
            [Description("支付宝")]
            alipay = 9,

            /// <summary>
            /// 银行卡
            /// </summary>
            [Description("银行卡")]
            bank = 10,

            /// <summary>
            /// 抖音券
            /// </summary>
            [Description("抖音券")]
            douyin = 11
        }

        /// <summary>
        /// 套餐分组选配，对应corecmsfoodpack.selectType
        /// </summary>
        /// <summary>
        /// 套餐商品选择：1.可选搭配；2.固定搭配；3.任选搭配；
        /// </summary>
        public enum FoodPackSelectType
        {
            /// <summary>
            /// 可选搭配
            /// </summary>
            [Description("可选搭配")]
            Optional = 1,
            /// <summary>
            /// 固定搭配
            /// </summary>
            [Description("固定搭配")]
            Fixed = 2,
            /// <summary>
            /// 任选搭配
            /// </summary>
            [Description("任选搭配")]
            Wilfully = 3,
        }

        /// <summary>
        /// 叫起标记(0默认，1叫起，2起菜)
        /// </summary>
        /// <summary>
        public enum CallType
        {
            /// <summary>
            /// 默认
            /// </summary>
            [Description("默认")]
            Default = 0,
            /// <summary>
            /// 叫起
            /// </summary>
            [Description("叫起")]
            Await = 1,
            /// <summary>
            /// 起菜
            /// </summary>
            [Description("起菜")]
            SendDishes = 2,
            /// <summary>
            /// 划菜
            /// </summary>
            [Description("划菜")]
            CheckSend = 3,
        }

        /// <summary>
        /// 会员优惠类型
        /// </summary>
        /// <summary>
        /// </summary>
        public enum UserDiscountType
        {
            /// <summary>
            /// 折扣卡
            /// </summary>
            [Description("折扣卡")]
            Discount = 0,
            /// <summary>
            /// 会员价
            /// </summary>
            [Description("会员价")]
            VipPrice = 1,
            /// <summary>
            /// 零售价
            /// </summary>
            [Description("零售价")]
            PosPrice = 2,
            /// <summary>
            /// 会员等级价
            /// </summary>
            [Description("会员等级价")]
            GradePrice = 3,
        }

        /// <summary>
        /// 数据类型
        /// </summary>
        public enum OrderingDataType
        {
            /// <summary>
            /// 退菜
            /// </summary>
            [Description("退菜")]
            Refund = -1,
            /// <summary>
            /// 赠送
            /// </summary>
            [Description("赠送")]
            Present = 0,
            /// <summary>
            /// 下单
            /// </summary>
            [Description("下单")]
            Normal = 1,
            /// <summary>
            /// 打折
            /// </summary>
            [Description("打折")]
            Discount = 2,
            /// <summary>
            /// 折扣促销
            /// </summary>
            [Description("折扣促销")]
            ActivityDis = 3,
            /// <summary>
            /// 赠送促销
            /// </summary>
            [Description("赠送促销")]
            ActivityGift = 4,
        }

        /// <summary>
        /// Ordering的操作（1加数量，2减数量，3删除行）
        /// </summary>
        public enum OrderingOperate
        {
            /// <summary>
            /// 加数量
            /// </summary>
            [Description("加数量")]
            AddQty = 1,
            /// <summary>
            /// 减数量
            /// </summary>
            [Description("减数量")]
            CutQty = 0,
            /// <summary>
            /// 删除行
            /// </summary>
            [Description("删除行")]
            DelRow = 1,
        }

        /// <summary>
        /// 商品状态，corecmsfoodordering.itemStatus
        /// </summary>
        public enum OrderingItemStatus
        {
            /// <summary>
            /// 待下单
            /// </summary>
            [Description("待下单")]
            TobePlaced = 0,
            /// <summary>
            /// 已下单
            /// </summary>
            [Description("已下单")]
            PreSettled = 1
        }

        /// <summary>
        /// 促销单状态，corecmsdiscountrules.status
        /// </summary>
        public enum DiscountStatus
        {
            /// <summary>
            /// 未审核
            /// </summary>
            [Description("未审核")]
            UnCheck = 0,
            /// <summary>
            /// 已审核
            /// </summary>
            [Description("已审核")]
            IsCheck = 1,
            /// <summary>
            /// 已停用
            /// </summary>
            [Description("已停用")]
            IsStop = 2
        }

        /// <summary>
        /// 促销单状态，corecmsdiscountrules.discountType
        /// 促销模式（1特价，2折扣，3买一送一，4第二份半价)"
        /// </summary>
        ///
        public enum DiscountType
        {
            /// <summary>
            /// 特价
            /// </summary>
            [Description("特价")]
            Special = 1,
            /// <summary>
            /// 折扣
            /// </summary>
            [Description("折扣")]
            Discount = 2,
            /// <summary>
            /// 买一送一
            /// </summary>
            [Description("买一送一")]
            BuyOneFree = 3,
            /// <summary>
            /// 第二份半价
            /// </summary>
            [Description("第二份半价")]
            SecondHalf = 4
        }
        
        /// <summary>
        /// 促销单状态，corecmsdiscountrules.appointType
        /// 指定方式（0.全部，1.商品，2.类别）
        /// </summary>
        ///
        public enum AppointType
        {
            /// <summary>
            /// 全部
            /// </summary>
            [Description("全部")]
            All = 0,
            /// <summary>
            /// 商品
            /// </summary>
            [Description("商品")]
            Food = 1,
            /// <summary>
            /// 类别
            /// </summary>
            [Description("类别")]
            Category = 2
        }

        /// <summary>
        /// 加价方式0不加价；1.固定加价；2按重量加价
        /// </summary>
        ///
        public enum AddPriceWay
        {
            /// <summary>
            /// 不加价
            /// </summary>
            [Description("不加价")]
            UnAdd = 0,
            /// <summary>
            /// 固定加价
            /// </summary>
            [Description("固定加价")]
            FixAdd = 1,
            /// <summary>
            /// 按数量加价
            /// </summary>
            [Description("按数量加价")]
            QtyAdd = 2
        }

        /// <summary>
        /// 打印状态(0待打印,1打印成功,2打印失败)
        /// </summary>
        public enum PrintStatus
        {
            /// <summary>
            /// 全部
            /// </summary>
            [Description("全部")]
            All = -1,
            /// <summary>
            /// 待打印
            /// </summary>
            [Description("待打印")]
            Treat = 0,
            /// <summary>
            /// 打印成功
            /// </summary>
            [Description("打印成功")]
            Success = 1,
            /// <summary>
            /// 打印失败
            /// </summary>
            [Description("打印失败")]
            Fail = 2,
            /// <summary>
            /// 补打
            /// </summary>
            [Description("补打")]
            Repair = 3
        }


        /// <summary>
        /// 会员状态，status
        /// </summary>
        public enum MemberStatus
        {
            /// <summary>
            /// 正常
            /// </summary>
            [Description("正常")]
            Normal = 1,
            /// <summary>
            /// 已停用
            /// </summary>
            [Description("已停用")]
            StopUsing = 2
        }

        /// <summary>
        /// 会员状态，对应Member.isDelete
        /// </summary>
        public enum FoodTag
        {
            /// <summary>
            /// 改价原因
            /// </summary>
            [Description("改价原因")]
            PriceTag = 1,
            /// <summary>
            /// 反结账原因
            /// </summary>
            [Description("反结账原因")]
            UnCheckTag = 2,
            /// <summary>
            /// 退菜原因
            /// </summary>
            [Description("退菜原因")]
            RefundTag = 3,
            /// <summary>
            /// 开台备注
            /// </summary>
            [Description("开台备注")]
            OpenTableTag = 4,
            /// <summary>
            /// 商品备注
            /// </summary>
            [Description("商品备注")]
            OrderingTag = 5,
            /// <summary>
            /// 促销备注
            /// </summary>
            [Description("促销备注")]
            ActivitieTag = 5,
        }


        /// <summary>
        /// 商品状态，Goods.isDelete
        /// </summary>
        public enum GoodsStatus
        {
            /// <summary>
            /// 已删除
            /// </summary>
            [Description("已删除")]
            Deleted = -1,
            /// <summary>
            /// 正常
            /// </summary>
            [Description("正常")]
            Normal = 0,
            /// <summary>
            /// 已停用
            /// </summary>
            [Description("已停用")]
            StopUsing = 1
        }

        /// <summary>
        /// 商品类型，corecmsfood.type
        /// </summary>
        public enum FoodType
        {
            /// <summary>
            /// 普通菜
            /// </summary>
            [Description("普通菜")]
            NormalFood = 1,
            /// <summary>
            /// 套菜
            /// </summary>
            [Description("套菜")]
            PackFood = 2,
            /// <summary>
            /// 线下临时菜
            /// </summary>
            [Description("线下临时菜")]
            TemporaryFood = 3,
            /// <summary>
            /// 临时套菜
            /// </summary>
            [Description("临时套菜")]
            TempPack = 4,
            /// <summary>
            /// 套菜内品
            /// </summary>
            [Description("套菜内品")]
            PackChild = 5,
            /// <summary>
            /// 分组主菜
            /// </summary>
            [Description("分组主菜")]
            GroupParent = 6,
            /// <summary>
            /// 分组配菜
            /// </summary>
            [Description("分组配菜")]
            GroupChild = 7,
        }

        /// <summary>
        /// 性别
        /// </summary>
        public enum Sex
        {
            /// <summary>
            /// 男
            /// </summary>
            [Description("男")]
            Man = 1,
            /// <summary>
            /// 女
            /// </summary>
            [Description("女")]
            Woman = 2,

            /// <summary>
            /// 不定
            /// </summary>
            [Description("未知")]
            NotSure = 3
        }


        /// <summary>
        ///优惠类型（1、零售价；2、会员价）
        /// </summary>
        public enum discountType
        {
            /// <summary>
            /// 零售价
            /// </summary>
            [Description("零售价")]
            retailPrice = 1,
            /// <summary>
            /// 会员价
            /// </summary>
            [Description("会员价")]
            vipPrice = 2
        }
        #endregion

        #region Order订单相关=========================================================

        /// <summary>
        /// 订单支付状态[对应CoreCmsOrder表payStatus字段]
        /// </summary>
        //public enum OrderPayStatus
        //{
        //    /// <summary>
        //    /// 未付款
        //    /// </summary>
        //    [Description("未付款")]
        //    No = 1,
        //    /// <summary>
        //    /// 已付款
        //    /// </summary>
        //    [Description("已付款")]
        //    Yes = 2,
        //    /// <summary>
        //    /// 部分付款
        //    /// </summary>
        //    [Description("部分付款")]
        //    PartialYes = 3,
        //    /// <summary>
        //    /// 部分退款
        //    /// </summary>
        //    [Description("部分退款")]
        //    PartialNo = 4,
        //    /// <summary>
        //    /// 已退款
        //    /// </summary>
        //    [Description("已退款")]
        //    Refunded = 5
        //}

        /// <summary>
        /// 来源
        /// 订单来源[对应corecmsfoodordermaster表sourceType字段]
        /// </summary>
        public enum FoodOrderSourceType
        {
            [Description("全部")]
            All = -1,
            [Description("前台收银")]
            Pos = 0,
            [Description("微信小程序")]
            Wechat = 1,
            [Description("支付宝小程序")]
            Alipay = 4,
            [Description("美团外卖")]
            Meituan = 2
        }

        /// <summary>
        /// 称重条码类型      
        /// </summary>
        public enum WeighingCodeType
        {
            /// <summary>
            /// 13位金额码
            /// </summary>
            [Description("13位金额码")]
            CodeAmount13 = 0,
            /// <summary>
            /// 13位重量码
            /// </summary>
            [Description("13位重量码")]
            CodeWeight13 = 1,

            ///// <summary>
            ///// 18位重量+金额码
            ///// </summary>
            //[Description("18位重量+金额码")]
            //CodeWeightAmt18 = 2,
            ///// <summary>
            ///// 18位重量+单价码
            ///// </summary>
            //[Description("18位重量+单价码")]
            //CodeWeightPrice18 = 3,
        }

        /// <summary>
        /// AI类型      
        /// </summary>
        public enum AiType
        {
            /// <summary>
            /// 无
            /// </summary>
            [Description("无")]
            None = 0,
            /// <summary>
            /// 创智链
            /// </summary>
            [Description("创智链")]
            Czl = 1,
            /// <summary>
            /// 六小象
            /// </summary>
            [Description("六小象")]
            Lxx = 2,
        }

        /// <summary>
        /// AI识别商品类型      
        /// </summary>
        public enum AiGoodsCodeType
        {
            /// <summary>
            /// 仅按商品编码
            /// </summary>
            [Description("仅按商品编码")]
            NumberOnly = 0,
            /// <summary>
            /// 商品编码及条码
            /// </summary>
            [Description("商品编码及条码")]
            NumberAndCode = 1,
        }

        /// <summary>
        /// 随行付交易状态;
        /// </summary>
        public enum SxfTranSts
        {
            /// <summary>
            /// 交易成功
            /// </summary>
            [Description("交易成功")]
            SUCCESS,
            /// <summary>
            /// 交易失败
            /// </summary>
            [Description("交易失败")]
            FAIL,
            /// <summary>
            /// 支付中
            /// </summary>
            [Description("支付中")]
            PAYING,
            /// <summary>
            /// 已关闭
            /// </summary>
            [Description("已关闭")]
            CLOSED,
            /// <summary>
            /// 已撤销
            /// </summary>
            [Description("已撤销")]
            CANCELED,
        }

        /// <summary>
        /// 订单状态(0 未付款1 已支付2 已配送4 取消订单5 订单退货6 货到付款7 订单超时9 已收货10 已确认收货)
        /// </summary>
        public enum OrderPayStatus
        {
            /// <summary>
            /// 未付款
            /// </summary>
            [Description("未付款")]
            UnPay = 0,
            /// <summary>
            /// 已支付
            /// </summary>
            [Description("已支付")]
            IsPay = 1,
            /// <summary>
            /// 已配送
            /// </summary>
            [Description("已配送")]
            Delivery = 2,
            /// <summary>
            /// 单边帐(收银员确认已收)
            /// </summary>
            [Description("单边帐")]
            Unknown = 3,
            /// <summary>
            /// 已取消
            /// </summary>
            [Description("已取消")]
            Cancel = 4,
            /// <summary>
            /// 已退款
            /// </summary>
            [Description("已退款")]
            Refund = 5,
            /// <summary>
            /// 货到付款
            /// </summary>
            [Description("货到付款")]
            CashOnDelivery = 6,
            /// <summary>
            /// 已超时
            /// </summary>
            [Description("已超时")]
            Timeout = 7,
            /// <summary>
            /// 已收货
            /// </summary>
            [Description("已收货")]
            TakeOver = 9,
            /// <summary>
            /// 确认收货
            /// </summary>
            [Description("确认收货")]
            ConfirmReceipt = 10,
            /// <summary>
            /// 已同步到第三方平台(暂时引用)
            /// </summary>
            [Description("确认收货")]
            SendInterface = 20
        }

        /// <summary>
        /// 流水状态(0未同步 1已同步 2已退款)
        /// </summary>
        public enum BalanceStatus
        {
            /// <summary>
            /// 未完成
            /// </summary>
            [Description("未完成")]
            UnCheck = 0,
            /// <summary>
            /// 已完成
            /// </summary>
            [Description("已完成")]
            IsCheck = 1,
            /// <summary>
            /// 已退款
            /// </summary>
            [Description("已退款")]
            IsRefund = 2,
            /// <summary>
            /// 退款成功
            /// </summary>
            [Description("退款成功")]
            SuccessRefund = 3
        }


        /// <summary>
        /// 订单编号类型大全
        /// </summary>
        public enum SerialNumberType
        {
            [Description("订单编号")]
            订单编号 = 1,
            [Description("交班单号")]
            交班单号 = 7,
            [Description("零售单号")]
            零售单号 = 8,
            [Description("提货单号")]
            提货单号 = 10,
            [Description("会员充值消费编号")]
            会员充值消费编号 = 12,
            [Description("系统版本号")]
            系统版本号 = 13,
        }

        /// <summary>
        /// 单号生成规则      
        /// </summary>
        public enum BillNumberFirst
        {
            /// <summary>
            /// 每班编号（空值）
            /// </summary>
            [Description("每班编号（空值）")]
            ByClass = 1,
            /// <summary>
            /// 每日编号（空值）
            /// </summary>
            [Description("每日编号（空值）")]
            ByDate = 2,
            /// <summary>
            /// 短年月日 (如：220212)
            /// </summary>
            [Description("短年月日 (如：220212)")]
            ByYYMMDD = 3,
            /// <summary>
            /// 短年月 (如：2202)
            /// </summary>
            [Description("短年月 (如：2202)")]
            ByYYMM = 4,
            /// <summary>
            /// 长年月日 (如：20220212)
            /// </summary>
            [Description("长年月日 (如：20220212)")]
            ByYYYYMMDD = 5,
            /// <summary>
            /// 长年月 (如：202202)
            /// </summary>
            [Description("长年月 (如：202202)")]
            ByYYYYMM = 6,
        }

        /// <summary>
        /// 单号生成方式（0是下单时生成，1结帐时重新生成）      
        /// </summary>
        public enum BillNumberTime
        {
            /// <summary>
            /// 下单时生成
            /// </summary>
            [Description("下单时生成")]
            Ordering = 0,
            /// <summary>
            /// 结帐时生成
            /// </summary>
            [Description("结帐时重新生成")]
            Settlement = 1,
        }

        /// <summary>
        /// 收银模式      
        /// </summary>
        public enum OrderingMode
        {
            /// <summary>
            /// 混合模式(开台与快餐)
            /// </summary>
            [Description("混合模式(触屏与键盘鼠标)")]
            All = 0,
            /// <summary>
            /// 触屏模式
            /// </summary>
            [Description("触屏模式")]
            Touch = 1,
            /// <summary>
            /// 开台模式
            /// </summary>
            [Description("键盘鼠标模式")]
            Keyboard = 2,            
        }

        /// <summary>
        /// 单号生成规则      
        /// </summary>
        public enum BillNumberLast
        {
            /// <summary>
            /// 3位数序号
            /// </summary>
            [Description("3位数序号")]
            ThreeBit = 3,
            /// <summary>
            /// 4位数序号
            /// </summary>
            [Description("4位数序号")]
            FourBit = 4,
            /// <summary>
            /// 5位数序号
            /// </summary>
            [Description("5位数序号")]
            FiveBit = 5,
            /// <summary>
            /// 6位数序号
            /// </summary>
            [Description("6位数序号")]
            SixBit = 6,
            /// <summary>
            /// 7位数序号
            /// </summary>
            [Description("7位数序号")]
            SevenBit = 7,
            /// <summary>
            /// 8位数序号
            /// </summary>
            [Description("8位数序号")]
            EightBit = 8,
        }
        #endregion

        #region 打印相关
        /// <summary>
        /// 打印方式（0商品汇总方式,1.一菜单，2、一数量一单，3按下单明细）
        /// </summary>
        public enum foodPrintType
        {
            /// <summary>
            /// 与下单一致
            /// </summary>
            [Description("与下单一致")]
            Order = 0,

            /// <summary>
            /// 一菜一单
            /// </summary>
            [Description("一商品一单")]
            Food = 1,
            /// <summary>
            /// 一数量一单
            /// </summary>
            [Description("一数量一单")]
            Number = 2,
            /// <summary>
            /// 商品汇总方式
            /// </summary>
            [Description("商品汇总方式")]
            Summary = 3
        }

        /// <summary>
        /// 套餐打印方式（0套餐与商品全部打印,1.打印套餐名称，2、打印商品名称）
        /// </summary>
        public enum foodPackPrintType
        {
            /// <summary>
            /// 套餐与商品全部打印
            /// </summary>
            [Description("套餐与商品全部打印")]
            PackAndFood = 0,

            /// <summary>
            /// 打印套餐名称
            /// </summary>
            [Description("打印套餐名称")]
            PackOnly = 1,
            /// <summary>
            /// 打印商品名称
            /// </summary>
            [Description("打印商品名称")]
            FoodOnly = 2
        }

        /// <summary>
        /// 打印机类型（1前台打印机,2厨房打印机）
        /// </summary>
        public enum printerType
        {
            /// <summary>
            /// 前台打印机
            /// </summary>
            [Description("前台打印机")]
            PosBill = 1,

            /// <summary>
            /// 厨房打印机
            /// </summary>
            [Description("厨房打印机")]
            Kitchen = 2
        }
        /// <summary>
        /// 品牌（1.佳博；2芯烨；3佳博；4新北洋；5爱普生；6斯普瑞特；0通用）
        /// </summary>
        public enum PrinterBrand
        {
            /// <summary>
            /// 佳博
            /// </summary>
            [Description("佳博")]
            JiaBo = 1,
            /// <summary>
            /// 芯烨
            /// </summary>
            [Description("芯烨")]
            XinYe = 2,

            ///// <summary>
            ///// 美团
            ///// </summary>
            //[Description("美团")]
            //MeiTuan = 1,

            ///// <summary>
            ///// 芯烨
            ///// </summary>
            //[Description("芯烨")]
            //XinYe = 2,

            ///// <summary>
            ///// 佳博
            ///// </summary>
            //[Description("佳博")]
            //JiaBo = 3,
            ///// <summary>
            ///// 新北洋
            ///// </summary>
            //[Description("新北洋")]
            //CinBeiYang = 4,

            ///// <summary>
            ///// 爱普生
            ///// </summary>
            //[Description("爱普生")]
            //Aips = 5,

            ///// <summary>
            ///// 斯普瑞特
            ///// </summary>
            //[Description("斯普瑞特")]
            //Siprt = 6,

            /// <summary>
            /// 通用
            /// </summary>
            [Description("通用")]
            Currency = 0,
        }
        /// <summary>
        /// 打印显示方式（1指令；2报表;3-KDS_Bestone）
        /// </summary>
        public enum SendPrintWay
        {
            /// <summary>
            /// 指令打印
            /// </summary>
            [Description("指令打印")]
            Command = 1,

            /// <summary>
            /// 驱动打印
            /// </summary>
            [Description("驱动打印")]
            Drive = 2,
            /// <summary>
            /// 厨房KDS(百事通)
            /// </summary>
            [Description("厨房KDS")]
            KDS_Bestone = 3,
        }

        /// <summary>
        /// 打印票据标识(1结账单、预结账单、客户点菜单三种,2为厨房打印)
        /// </summary>
        public enum PrintbillTypeTag
        {
            /// <summary>
            /// 结账单、预结账单、客户点菜单
            /// </summary>
            [Description("结账单、预结账单、客户送货单")]
            Account = 1,

            /// <summary>
            /// 厨房打印小票
            /// </summary>
            [Description("标签打印小票")]
            Kitchen = 2,
        }

        /// <summary>
        /// 打印票据类型，对应表corecmsprintbilltype
        /// </summary>
        public enum PrintbillType
        {
            /// <summary>
            /// 结帐小票
            /// </summary>
            [Description("结帐小票")]
            Settlement = 1,

            /// <summary>
            /// 预结算单
            /// </summary>
            [Description("预结算单")]
            PrePayment = 2,

            /// <summary>
            /// 客户点菜单
            /// </summary>
            [Description("客户送货单")]
            FoodList = 3,

            /// <summary>
            /// 厨打点菜单
            /// </summary>
            [Description("标签单")]
            Kitchen = 4,

            /// <summary>
            /// 退菜单
            /// </summary>
            [Description("退菜单")]
            Refund = 5,

            /// <summary>
            /// 摧菜单
            /// </summary>
            [Description("摧菜单")]
            Urge = 6,

            /// <summary>
            /// 叫起单
            /// </summary>
            [Description("叫起单")]
            Await = 7,

            /// <summary>
            /// 起菜单
            /// </summary>
            [Description("起菜单")]
            SendDishes = 8,

            /// <summary>
            /// 转台单
            /// </summary>
            [Description("转台单")]
            DeskTransfer = 9,

            /// <summary>
            /// 拆台单
            /// </summary>
            [Description("拆台单")]
            DeskSplit = 10,

            /// <summary>
            /// 收银交班单
            /// </summary>
            [Description("收银交班单")]
            ClassBill = 11,

            /// <summary>
            /// 会员充值小票
            /// </summary>
            [Description("会员充值小票")]
            UserDeposit = 12,
            /// <summary>
            /// 标签打印
            /// </summary>
            [Description("标签打印")]
            Label = 13,
            /// <summary>
            /// 报表打印
            /// </summary>
            [Description("报表打印")]
            Report = 14,

            /// <summary>
            /// 外卖单
            /// </summary>
            [Description("外卖单")]
            takeOut = 15,
            /// <summary>
            /// 线上订单配送
            /// </summary>
            [Description("线上订单配送")]
            MallOrder = 16,
        }

        /// <summary>
        /// 单据类型
        /// </summary>
        public enum BillType
        {
            /// <summary>
            /// 临时套菜选择商品
            /// </summary>
            [Description("临时商品")]
            PackChild = 1,

            /// <summary>
            /// 商品寄存
            /// </summary>
            [Description("商品寄存")]
            TempStorage = 2,

            /// <summary>
            /// 套餐明细
            /// </summary>
            [Description("组合明细")]
            PackDetail = 3,
        }

        /// <summary>
        /// 商品展示顺序（1商品分类；2下单时间）
        /// </summary>
        public enum foodSort
        {
            /// <summary>
            /// 商品分类
            /// </summary>
            [Description("商品分类")]
            Food = 1,

            /// <summary>
            /// 下单时间
            /// </summary>
            [Description("下单时间")]
            Order = 2,
        }

        /// <summary>
        /// 打印机连接方式(1驱动，2网络IP，3USB口)
        /// </summary>
        public enum printConnect
        {
            /// <summary>
            /// 驱动
            /// </summary>
            [Description("驱动")]
            Drive = 1,
            /// <summary>
            /// 网络IP
            /// </summary>
            [Description("网络IP")]
            Ip = 2,
            /// <summary>
            /// USB口
            /// </summary>
            [Description("USB口")]
            USB = 3,
        }
        /// <summary>
        /// 纸张宽度(1、58CM，2、75CM,3、80CM)
        /// </summary>
        public enum paperType
        {
            /// <summary>
            /// 58CM
            /// </summary>
            [Description("58CM")]
            fifty_eight = 0,
            /// <summary>
            /// 75CM
            /// </summary>
            [Description("75CM")]
            seventy_five = 1,
            /// <summary>
            /// 80CM
            /// </summary>
            [Description("80CM")]
            eighty = 2,
            /// <summary>
            /// 自定义
            /// </summary>
            [Description("自定义")]
            custom = 3,
        }
        #endregion

        #region 收银结算相关        

        /// <summary>
        /// 移动支付类型      
        /// </summary>
        public enum MobilePayType
        {
            /// <summary>
            /// 未绑定
            /// </summary>
            [Description("未绑定")]
            Nothing = 0,
            /// <summary>
            /// 移动收款(随行付)
            /// </summary>
            [Description("移动收款SXF")]
            SXF = 1,
        }


        /// <summary>
        /// 金额小数点      
        /// </summary>
        public enum AmountDecimal
        {
            /// <summary>
            /// 四舍五入到元
            /// </summary>
            [Description("四舍五入到元")]
            RoundPoint0 = 1,
            /// <summary>
            /// 四舍五入到角
            /// </summary>
            [Description("四舍五入到角")]
            RoundPoint1 = 2,
            /// <summary>
            /// 四舍五入到分
            /// </summary>
            [Description("四舍五入到分")]
            RoundPoint2 = 3,
            /// <summary>
            /// 直接抹零到元
            /// </summary>
            [Description("直接抹零到元")]
            FloorPoint0 = 4,
            /// <summary>
            /// 直接抹零到角
            /// </summary>
            [Description("直接抹零到角")]
            FloorPoint1 = 5,
            /// <summary>
            /// 直接抹零到分
            /// </summary>
            [Description("直接抹零到分")]
            FloorPoint2 = 6,
        }

        /// <summary>
        /// 快餐牌号输入方式      
        /// </summary>
        public enum OrderNumberType
        {
            /// <summary>
            /// 不输排号
            /// </summary>
            [Description("不输编牌号")]
            Without = 0,
            /// <summary>
            /// 点菜前输入排号
            /// </summary>
            [Description("点菜前输入编牌号")]
            Before = 1,
            /// <summary>
            /// 结账时输入排号
            /// </summary>
            [Description("结账时输入编牌号")]
            Afler = 2,
            ///// <summary>
            ///// 每班次自动编排
            ///// </summary>
            //[Description("每班次自动编排")]
            //AutoOnClass = 3,
            ///// <summary>
            ///// 每日自动编排
            ///// </summary>
            //[Description("每日自动编排")]
            //AutoOnDay = 4,
        }


        #endregion

        #region 接口相关
        /// <summary>
        /// 订单编号类型大全
        /// </summary>
        public enum MessageCode
        {
            /// <summary>
            /// 101-登录
            /// </summary>
            [Description("登录")]
            Code101 = 101,
            /// <summary>
            /// 102-修改密码
            /// </summary>
            [Description("修改密码")]
            Code102 = 102,
            /// <summary>
            /// 103-开台
            /// </summary>
            [Description("开台")]
            Code103 = 103,
            /// <summary>
            /// 104-转台
            /// </summary>
            [Description("转台")]
            Code104 = 104,
            /// <summary>
            /// 105-并台
            /// </summary>
            [Description("并台")]
            Code105 = 105,
            /// <summary>
            /// 106-撤台
            /// </summary>
            [Description("撤台")]
            Code106 = 106,
            /// <summary>
            /// 107-商品列表
            /// </summary>
            [Description("商品列表")]
            Code107 = 107,
            /// <summary>
            /// 108-点菜
            /// </summary>
            [Description("点菜")]
            Code108 = 108,
            /// <summary>
            /// 109-客户要求
            /// </summary>
            [Description("客户要求")]
            Code109 = 109,
            [Description("转菜")]
            Code110 = 110,
            [Description("商品详情")]
            Code111 = 111,
            [Description("退菜")]
            Code112 = 112,
            [Description("点菜清单")]
            Code113 = 113,
            [Description("整桌催菜")]
            Code114 = 114,
            [Description("单品催菜")]
            Code115 = 115,
            [Description("商品分类列表")]
            Code116 = 116,
            [Description("空闲餐台汇总")]
            Code117 = 117,
            [Description("餐台区域列表")]
            Code118 = 118,
            [Description("按台号查空闲")]
            Code119 = 119,
            [Description("预订信息汇总")]
            Code120 = 120,
            [Description("按台号查预订")]
            Code121 = 121,
            [Description("绑定会员卡")]
            Code122 = 122,
            [Description("按拼音查客户")]
            Code123 = 123,
            [Description("打印结帐单")]
            Code124 = 124,
            [Description("按菜类催菜")]
            Code125 = 125,
            [Description("折扣免单")]
            Code126 = 126,
            [Description("沽清列表")]
            Code127 = 127,
            [Description("使用餐台汇总")]
            Code128 = 128,
            [Description("常用备注列表")]
            Code129 = 129,
            [Description("判断pos是否连接")]
            Code130 = 130,
            [Description("APP订单")]
            Code131 = 131,
            [Description("获取打印机列表")]
            Code132 = 132,
            [Description("打印预结账单")]
            Code134 = 134,
            [Description("划单")]
            Code136 = 136,
            [Description("赠送")]
            Code137 = 137,
            [Description("订单打折")]
            Code138 = 138,
            [Description("拼台")]
            Code139 = 139,
            [Description("并台")]
            Code140 = 140,
            [Description("消台")]
            Code141 = 141,
            [Description("修改就餐人数")]
            Code142 = 142,
            [Description("获取参数设置")]
            Code143 = 143,
            [Description("保存参数设置")]
            Code144 = 144,
            [Description("打包或取消打包")]
            Code145 = 145,
            [Description("等叫")]
            Code146 = 146,
            [Description("备注")]
            Code147 = 147,
            [Description("当前班次")]
            Code148 = 148,
            [Description("订单结算")]
            Code199 = 199,
        }
        #endregion

        #region 前台与交换工具的交互代码
        /// <summary>
        /// 前台与交换工具的交互代码
        /// </summary>
        public enum SignalPivotCode
        {
            /// <summary>
            /// 100-加载参数
            /// </summary>
            [Description("加载参数")]
            Code100 = 100,
            /// <summary>
            /// 厨房打印
            /// </summary>
            [Description("厨房打印")]
            Code101 = 101,

            /// <summary>
            /// 109-客户要求
            /// </summary>
            [Description("商品详情")]
            Code111 = 111,

            /// <summary>
            /// 写交换日志
            /// </summary>
            [Description("写交换日志")]
            Code999 = 999,
        }
        #endregion

        #region 主界面Page值
        /// <summary>
        /// 主界面Page值
        /// </summary>
        public enum MainPageIndex
        {
            /// <summary>
            /// fpgDataMonitor-后台数据交换
            /// </summary>
            [Description("后台数据交换")]
            Page1001 = 1001,
            /// <summary>
            /// fpgPrinterMonitor-打印机监控
            /// </summary>
            [Description("打印机监控")]
            Page1002 = 1002,

            /// <summary>
            /// fpgPrintMonitor-厨房打印监控
            /// </summary>
            [Description("厨房打印监控")]
            Page1003 = 1003,

            /// <summary>
            /// fpgSignalMonitor-线上餐厅监控
            /// </summary>
            [Description("线上餐厅监控")]
            Page1004 = 1004,

            /// <summary>
            /// fpgPivotMonitor-前台系统监控
            /// </summary>
            [Description("前台系统监控")]
            Page1005 = 1005,

            /// <summary>
            /// fpgOpraMonitor-其它功能
            /// </summary>
            [Description("其它功能")]
            Page1006 = 1006,
        }
        #endregion

        #region 主界面Page值
        /// <summary>
        /// 报表界面Page值
        /// </summary>
        public enum RptPageIndex
        {
            /// <summary>
            /// 销售单据列表
            /// </summary>
            [Description("销售单据列表")]
            Page1000 = 1000,
            /// <summary>
            /// 商品销售明细
            /// </summary>
            [Description("商品销售明细")]
            Page1001 = 1001,
            /// <summary>
            /// 商品销售汇总
            /// </summary>
            [Description("商品销售汇总")]
            Page1002 = 1002,

            /// <summary>
            /// 支付明细
            /// </summary>
            [Description("支付明细")]
            Page1003 = 1003,

            /// <summary>
            /// 支付汇总
            /// </summary>
            [Description("支付汇总")]
            Page1004 = 1004,

            /// <summary>
            /// 商品赠送汇总
            /// </summary>
            [Description("商品赠送汇总")]
            Page1005 = 1005,

            /// <summary>
            /// 交班单明细
            /// </summary>
            [Description("交班单明细")]
            Page1006 = 1006,
            /// <summary>
            /// 收银员汇总
            /// </summary>
            [Description("收银员汇总")]
            Page1007 = 1007,
        }
        #endregion

        #region 权限字段值
        /// <summary>
        /// 主界面Page值
        /// </summary>
        public enum UserRoleType
        {
            /// <summary>
            /// 交班处理
            /// </summary>
            [Description("交班处理")]
            isClassOff = 1,
            /// <summary>
            /// 退单处理
            /// </summary>
            [Description("退单处理")]
            isOrderRefund = 2,

            /// <summary>
            /// 商品打折
            /// </summary>
            [Description("商品打折")]
            isProductDiscount = 3,

            /// <summary>
            /// 整单打折
            /// </summary>
            [Description("整单打折")]
            isOrderDiscount = 4,

            /// <summary>
            /// 补票打印
            /// </summary>
            [Description("补票打印")]
            isPrintRepair = 5,

            /// <summary>
            /// 系统设置
            /// </summary>
            [Description("系统设置")]
            isSysSetup = 6,
            /// <summary>
            /// 商品赠送
            /// </summary>
            [Description("商品赠送")]
            isProductGift = 7,
            /// <summary>
            /// 会员充值
            /// </summary>
            [Description("会员充值")]
            isUserDeposit = 8,

            /// <summary>
            /// 会员充值退款
            /// </summary>
            [Description("会员充值退款")]
            isUserDepositRefund = 10,
            /// <summary>
            /// 数据清理
            /// </summary>
            [Description("数据清理")]
            isClearData = 11,
            /// <summary>
            /// 最大折扣
            /// </summary>
            [Description("最大折扣")]
            maxDiscountValue = 12,
            /// <summary>
            /// 最大优惠额
            /// </summary>
            [Description("最大优惠额")]
            maxReduceAmount = 13,
            /// <summary>
            /// 新增会员
            /// </summary>
            [Description("新增会员")]
            isAddUserInfo = 14,

            /// <summary>
            /// 新增商品
            /// </summary>
            [Description("新增商品")]
            addproduct = 15,

            /// <summary>
            /// 更多操作
            /// </summary>
            [Description("更多操作")]
            isMoreOperate = 16,

            /// <summary>
            /// 练习模式
            /// </summary>
            [Description("练习模式")]
            isPractice = 17,

            /// <summary>
            /// 支付
            /// </summary>
            [Description("支付")]
            isPayment = 18,

            /// <summary>
            /// 结算
            /// </summary>
            [Description("结算")]
            isSettlement = 19,

            /// <summary>
            /// 选择会员
            /// </summary>
            [Description("选择会员")]
            isSelMember = 20,

            /// <summary>
            /// 挂单
            /// </summary>
            [Description("挂单")]
            isHandupShopping = 21,

            /// <summary>
            /// 整单取消
            /// </summary>
            [Description("整单取消")]
            isCancelShopping = 22,

            /// <summary>
            /// 重新取重
            /// </summary>
            [Description("重新取重")]
            isGetWeigh = 23,

            /// <summary>
            /// 修改数量
            /// </summary>
            [Description("修改数量")]
            isModifyRow = 24,

            /// <summary>
            /// 单品删除
            /// </summary>
            [Description("单品删除")]
            isRemoveRow = 25,

            /// <summary>
            /// 订单列表
            /// </summary>
            [Description("订单列表")]
            isOrderList = 26,

            /// <summary>
            /// 更多功能
            /// </summary>
            [Description("更多功能")]
            isMoreMenu = 27,

            /// <summary>
            /// 会员管理
            /// </summary>
            [Description("会员管理")]
            isMemberList = 28,

            /// <summary>
            /// 收银首页
            /// </summary>
            [Description("收银首页")]
            isPosOrder = 29,
            /// <summary>
            /// 积分兑换商品
            /// </summary>
            [Description("积分兑换商品")]
            isCreditsGoods = 30,
            /// <summary>
            /// 积分兑换券
            /// </summary>
            [Description("积分兑换券")]
            isCreditsIntegral = 31,
            /// <summary>
            /// 今日调价
            /// </summary>
            [Description("今日调价")]
            isChgPrice = 32,
            /// <summary>
            /// 永久调价
            /// </summary>
            [Description("永久调价")]
            isEditGoodsPrice = 33,
        }
        #endregion

        /// <summary>
        /// 库存属性
        /// </summary>
        public enum FoodstockType
        {
            [Description("仅商品")]
            food = 0,
            [Description("也是原材料")]
            AlsoMaterial = 1,
            [Description("商品既原料")]
            material = 2
        }

        /// <summary>
        /// 打印机状态      
        /// </summary>
        public enum PrinterStatus
        {
            /// <summary>
            /// 已停用
            /// </summary>
            [Description("已停用")]
            Stop = -1,
            /// <summary>
            /// 正常
            /// </summary>
            [Description("正常")]
            Default = 0,
        }

        /// <summary>
        /// 订单处理状态      
        /// </summary>
        public enum CheckFlag
        {
            /// <summary>
            /// 所有
            /// </summary>
            [Description("所有")]
            All = 0,
            /// <summary>
            /// 待处理
            /// </summary>
            [Description("待处理")]
            UnCheck = 1,
            /// <summary>
            /// 已处理
            /// </summary>
            [Description("已处理")]
            Check = 2,
        }

        /// <summary>
        /// 套餐分组选配，对应corecmsfoodpack.selectType
        /// </summary>
        /// <summary>
        /// 套餐商品选择：1.可选搭配；2.固定搭配；3.任选搭配；
        /// </summary>
        public enum FoodGroupSelectType
        {
            /// <summary>
            /// 数量不限
            /// </summary>
            [Description("数量不限")]
            UnLimit = 1,
            /// <summary>
            /// 固定搭配
            /// </summary>
            [Description("数量必选")]
            required = 2,
            /// <summary>
            /// 数量范围
            /// </summary>
            [Description("数量范围")]
            Range = 3,
        }

        /// <summary>
        /// 订单类型
        /// </summary>
        public enum OrderBillType
        {
            /// <summary>
            /// 所有
            /// </summary>
            [Description("所有")]
            AllBill = 0,
            /// <summary>
            /// 销售订单
            /// </summary>
            [Description("销售订单")]
            Order = 1,
            /// <summary>
            /// 销售退货
            /// </summary>
            [Description("销售退货")]
            RefundOrder = 2,
            /// <summary>
            /// 充值订单
            /// </summary>
            [Description("充值订单")]
            Deposit = 5,
            /*无单退货 = 3,
            门店交款单 = 4,
            充值订单 = 5,
            充值退单 = 6,
            会员退款订单 = 7,
            好享会员优惠转充值 = 8,
            积分充值 = 9,
            好享购卡 = 10,
            批发出库 = 20*/
        }


        public enum OrderType_YZ
        {
            正常订单 = 1,
            拼团订单 = 2,
            预售订单 = 3,
            秒杀订单 = 4,
            预订单 = 5,
            小程序充值 = 6,
            小程序充值退单 = 7
        }

        /// <summary>
        /// 销售类型
        /// </summary>
        public enum SaleType
        {
            线上 = 1,
            线下 = 2
        }

        
        /// <summary>
        /// 销售类型
        /// </summary>
        public enum stand
        {
            /// <summary>
            /// 标准商品
            /// </summary>
            [Description("标准商品")]
            Stand = 0,
            /// <summary>
            /// 计重商品
            /// </summary>
            [Description("计重商品")]
            Weigh = 1,
            /// <summary>
            /// 计件商品
            /// </summary>
            [Description("计件商品")]
            Count = 2
        }

        /// <summary>
        /// 销售渠道
        /// </summary>
        public enum SaleSort
        {
            门店 = 1,
            微信小程序 = 2,
            美团 = 3,
            饿了么 = 4,
            京东 = 5,
            其他 = 6,
            手工 = 7,
            支付宝小程序 = 8,
            抖音 = 9,
            淘鲜达 = 10,
            美团券 = 11,
            支付宝团购券 = 12
        }

        /// <summary>
        /// 订单状态
        /// </summary>
        public enum PosOrderHeadStatus
        {
            未生效 = 1,
            已生效 = 5
        }

        /// <summary>
        /// 商品状态
        /// </summary>
        public enum PosOrderLineStatus
        {
            占位,
            正常,
            赠送,
            退货,
            促销
        }

        /// <summary>
        /// 运费类型
        /// </summary>
        public enum FreightType
        {
            占位,
            顾客承担,
            公司承担
        }
        /// <summary>
        /// 配送分类
        /// </summary>
        public enum FreightSort
        {
            占位,
            未配送,
            已配送
        }

        
        /// <summary>
        /// 支付类型
        /// 1 未支付 2 成功 3 支付中 4交易关闭 5交易撤销- 6失败
        /// </summary>
        public enum PayStatus
        {
            未支付 = 1,
            成功 = 2,
            支付中 = 3,
            交易关闭 = 4,
            交易撤销 = 5,
            部分退款 = 6,
            失败 = 7
        }

        /// <summary>
        /// 会员记录类型
        /// 单据类型 1 充值 2 退款 3 交易 4 升级 5 积分 6 挂失/解挂
        /// </summary>
        public enum VipRecordType
        {
            充值 = 1,
            退款 = 2,
            交易 = 3,
            升级 = 4,
            积分 = 5,
            挂失解挂 = 6
        }
                
        /// <summary>
        /// 电子秤型号
        /// </summary>
        public enum ScaleBarcodeType
        {
            /// <summary>
            /// 无连接
            /// </summary>
            [Description("无连接")]
            Nothing = 0,
            /// <summary>
            /// 大华
            /// </summary>
            [Description("大华")]
            Dahua = 1,
            /// <summary>
            /// 寺岗
            /// </summary>
            [Description("寺岗")]
            Sigang = 2,
            /// <summary>
            /// 顶尖
            /// </summary>
            [Description("顶尖")]
            Dingjian = 3,
            /// <summary>
            /// 托利多
            /// </summary>
            [Description("托利多")]
            Tuoliduo = 4,
        }

        #region 促销活动
        /// <summary>
        /// 适用渠道 0全部 1线下2 小程序
        /// </summary>
        public enum ActivityChannel
        {
            /// <summary>
            /// 0
            /// </summary>
            [Description("全部")]
            All = 0,
            /// <summary>
            /// 线下
            /// </summary>
            [Description("线下")]
            POS = 1,
            /// <summary>
            /// 小程序
            /// </summary>
            [Description("小程序")]
            Mall = 2,
        }

        /// <summary>
        /// 适用人群 0 全部 1 普通用户 2仅会员
        /// </summary>
        public enum ActivityOnlyVip
        {
            /// <summary>
            /// 0
            /// </summary>
            [Description("全部")]
            All = 0,
            /// <summary>
            /// 普通用户
            /// </summary>
            [Description("普通用户")]
            Ordinary = 1,
            /// <summary>
            /// 会员
            /// </summary>
            [Description("会员")]
            Member = 2,
        }

        /// <summary>
        /// 打印商品范围
        /// </summary>
        public enum RetryCount
        {
            /// <summary>
            /// 默认所有商品
            /// </summary>
            [Description("默认所有商品")]
            AllGoods = 0,
            /// <summary>
            /// 关联指定商品
            /// </summary>
            [Description("关联指定商品")]
            JoinGoods = 1,
        }

        /// <summary>
        /// 促销活动状态
        /// </summary>
        public enum ActivityStatus
        {
            /// <summary>
            /// 0
            /// </summary>
            [Description("失效")]
            Stop = 0,
            /// <summary>
            /// 有效
            /// </summary>
            [Description("有效")]
            Valid = 1,
        }

        /// <summary>
        ///  促销活动日期范围
        /// </summary>
        public enum ActivityWeekdayType
        {
            /// <summary>
            /// 按时间范围
            /// </summary>
            [Description("按时间范围")]
            AtTimeRange = 0,
            /// <summary>
            /// 按每天
            /// </summary>
            [Description("按每天")]
            AtEveryDay = 1,
            /// <summary>
            /// 按每周
            /// </summary>
            [Description("按每周")]
            AtWeekDay = 2,
            /// <summary>
            /// 按月某天
            /// </summary>
            [Description("按月某天")]
            AtMonthDay = 3,
        }


        /// <summary>
        /// 促销活动
        /// </summary>
        public enum ActivityEnum
        {
            特价 = 1,
            满赠 = 2,
            满减 = 3,
            第N件商品 = 4,
            赠券 = 5,
            赚积分 = 6,
            积分兑换 = 7,
            预售 = 8,
            接龙 = 9
        }

        /// <summary>
        /// 促销详细活动
        /// </summary>
        public enum ActivitySubType
        {
            限时特价 = 1,
            限时折扣 = 2,
            满减活动 = 3,
            满折活动 = 4,
            第二件半价 = 5,
            全场满赠券 = 6,
            商品满赠券 = 7,
            第二件0元 = 8
        }
        #endregion

        /// <summary>
        /// 券类型
        /// </summary>
        public enum CouponEnum
        {
            代金券 = 1,
            满减券 = 2,
            折扣券 = 3,
            运费券 = 4,
            商品券 = 5,
            随机券 = 6
        }

        /// <summary>
        ///  活动购买限制
        /// </summary>
        public enum LimitBuyType
        {
            [Description("不限")]
            Unlimited = 0,
            [Description("限制数量")]
            LimitedQty = 1,
        }

        /// <summary>
        ///  参与商品类型 0 全部 1 指定分类 2指定商品
        /// </summary>
        public enum ActivityGoodsType
        {
            [Description("全部")]
            All = 0,
            [Description("指定分类")]
            Type = 1,
            [Description("指定商品")]
            Goods = 2,
        }

        /// <summary>
        ///  值类型 1 前台参数 2
        /// </summary>
        public enum SystemValueType
        {
            [Description("前台参数")]
            PosPara = 1,
        }
        
    }
}
